﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EasyToHelp.Entity
{
    public static class APIConfig
    {
        /// <summary>
        /// 基础接口地址
        /// </summary>
        //public static readonly string BaseURL = "http://localhost:50064/api";
        public static readonly string BaseURL = "http://47.92.215.225:8010/api";
        
        /// <summary>
        /// 获取系统用户列表接口
        /// </summary>
        public static readonly string SysUsersGetList = BaseURL + "/SysUsers/GetList";
        /// <summary>
        /// 获取单个系统用户信息接口
        /// </summary>
        public static readonly string SysUsersGetModel = BaseURL + "/SysUsers/GetModel/{0}/{1}";
        /// <summary>
        /// 获取初始化菜单
        /// </summary>
        public static readonly string SysMenus = BaseURL + "/SysMenus/GetSysMenus";
        /// <summary>
        /// 获取子菜单
        /// </summary>
        public static readonly string ChildrenSysMenus = BaseURL + "/SysMenus/GetSysMenusList/{0}";
        /// <summary>
        /// 获取GridData数据源
        /// </summary>
        public static readonly string GridData = BaseURL + "/Grid/GridData/{0}/{1}";
        /// <summary>
        /// 会员注册
        /// </summary>
        public static readonly string MemberReg = BaseURL + "/Member/Add/";
    }
}
